projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e29966f
)
procd: Add cpu string to board detection
author
Chris Blake
<
[email protected]
>
Fri, 14 Sep 2018 01:37:45 +0000
(20:37 -0500)
committer
John Crispin
<
[email protected]
>
Thu, 11 Oct 2018 06:10:23 +0000
(08:10 +0200)
This patch is in relation to
https://github.com/openwrt/openwrt/pull/1307 to help fix architecture
detection in LuCI which was added in
https://github.com/openwrt/luci/commit/
b8f32b6da7accc672c5887e894a861de3f806cf5
Signed-off-by: Chris Blake <
[email protected]
>
system.c
patch
|
blob
|
history
diff --git
a/system.c
b/system.c
index 151f613002369de61194434c692339aae8618aa9..46c420b7ef7bd712b1a112e246e5f82985f707de 100644
(file)
--- a/
system.c
+++ b/
system.c
@@
-65,6
+65,7
@@
static int system_board(struct ubus_context *ctx, struct ubus_object *obj,
if (!strcasecmp(key, "system type") ||
!strcasecmp(key, "processor") ||
+ !strcasecmp(key, "cpu") ||
!strcasecmp(key, "model name"))
{
strtoul(val + 2, &key, 0);